#list列表类型：可变有序的 ()
list1=[]
# list=[1,2.123,'hello',True,(1,2,3),[1,2,3,4],{1,2,3,4},{'name':'lg','age':18}]
# list[0]=100
# print(list[1])
#tuple元组类型:不可变有序的
tuple1=(1,2.123,'hello',True,(1,2,3),[1,2,3,4],{1,2,3,4},{'name':'lg','age':18})
# print(tuple1)
t=(1,2,3,4,5)
# print(id(t))
# t=(10,20,30,4,5)
# print(id(t))
list3=list(t)
list3[0]=10
print(list3)
tuple1=tuple(list3)
print(tuple1)
#set 集合类型: 无序的、可变的、无法存放重复数据（数据去重）
#set不能存放 list、set、dict
set1={1,2,3,4,3,4,3,4}
print(set1)
set2={1,2.123,'hello',True,(1,2,3)}
print(set2)
#dict 字典类型：key---value，无序的、可变的，key不能重复
dict1={'name':'lg','age':18,'age':19,'age':20}
print(dict1)
dict2={11:'a',22:'b','d':{'a':'aaaa'},'list':[1,2,3]}
print(dict2)
print(dict2.items())
